import request from '@/utils/request'

// 查询公园管养导入明细列表
export function listParkImportDetail(query) {
  return request({ method: 'get', params: query,url: '/standingbook/parkImportDetail/list'})
}

// 查询公园管养导入明细详细
export function getParkImportDetail(id) {
  return request({ url: '/standingbook/parkImportDetail/' + id, method: 'get'  })
}

// 新增公园管养导入明细
export function addParkImportDetail(data) {
  return request({url: '/standingbook/parkImportDetail',method: 'post',data: data})
}

// 修改公园管养导入明细
export function updateParkImportDetail(data) {
  return request({method: 'put',data: data,url: '/standingbook/parkImportDetail' })
}

// 删除公园管养导入明细
export function delParkImportDetail(id) {
  return request({  method: 'delete', url: '/standingbook/parkImportDetail/' + id  })
}
